package com.zues.samples.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zues.samples.dao.ExamTypeDAO;
import com.zues.samples.model.ExamTestType;
import com.zues.samples.service.ExamTestTypeService;

@Service
public class ExamTestTypeServiceImpl implements ExamTestTypeService {
	@Autowired
	private ExamTypeDAO examTypeDAO;

	@Override
	public List<ExamTestType> FindExamTestType() throws Exception {
		return examTypeDAO.FindExamTestType();
	}

	@Override
	public ExamTestType getByIdExamTestType(int ExamTestTypeId) throws Exception {
		return examTypeDAO.getByIdExamTestType(ExamTestTypeId);
	}

}
